//
//  TSCMyCheckUtil.h
//  Tsc_IOS
//
//  Created by Rio on 15-5-15.
//  Copyright (c) 2015年 idream. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    RegexTypeId,
    RegexTypeNumPositive,
    RegexTypeNumNegative,
    RegexTypeLoginKey,
    RegexTypeShopName,
    RegexTypeMallName,
    RegexTypeFeedback,
    RegexTypeRate,
    RegexTypeQA,
    RegexTypeGoodsClassIds,
    RegexTypeGoodsDesc,
    RegexTypeLogo,
    RegexTypeFrontPhoto,
    RegexTypePhone,
    RegexTypeEmail,
    RegexTypeUserName,
    RegexTypePasswd,
    RegexTypeUserRole,
//    ROLE,
//    MIN_MAX_PRICE
    RegexTypePrice,
    RegexTypeDealCode
//    checkBeginTimeAndEndTime
    
} RegexType;

@interface TSCMyCheckUtil : NSObject

+ (BOOL) checkWithString:(NSString *)string regexType:(RegexType)regexType;

@end
